<?php


namespace Module\BlogThemeLightA\Core;

use ModStart\Form\Form;
use Module\Vendor\Provider\SiteTemplate\AbstractSiteTemplateProvider;

class BlogSiteTemplateProvider extends AbstractSiteTemplateProvider
{
    const NAME = 'blogThemeLightA';

    public function name()
    {
        return self::NAME;
    }

    public function title()
    {
        return 'BlogLightA主题';
    }

    public function root()
    {
        return 'module::BlogThemeLightA.View';
    }

    public function hasConfig()
    {
        return true;
    }

    public function config(Form $form, $param = [])
    {
        $form->image('BlogThemeLightA_WechatQrcode', '微信二维码');
        $form->text('BlogThemeLightA_Bilibili', 'B站地址');
        $form->image('BlogThemeLightA_DouyinQrcode', '抖音二维码');
        $form->image('BlogThemeLightA_KuaishouQrcode', '快手二维码');
    }


}
